import sys
from modelscope.tools import run_auto_label

input_wav = sys.argv[1] # wav audio path
work_dir = sys.argv[2] # output path
ret, report = run_auto_label(
                input_wav = input_wav,
                        work_dir = work_dir,
                                resource_revision = "v1.0.7"
                                        )
print(report)
